public class TestDriver {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Field a = new Field();
		Field b = new Field();
		Field c = new Field();
		Field d = new Field();
		Field e = new Field();
		Field f = new Field();
		Field g = new Field();
		Field h = new Field();
		Field i = new Field();
		Field j = new Field();
		Field k = new Field();
		Field l = new Field();
		
		Player benny = new Player(d);
		
		

		a.set_east(b, Barrier.FREE);
		a.set_south(d, Barrier.FREE);
		b.set_east(c, Barrier.DOOR);
		b.set_south(e, Barrier.FREE);
		c.set_north(null, Barrier.WALL);
		c.set_east(null, Barrier.WALL);
		c.set_south(null, Barrier.WALL);
		d.set_east(e, Barrier.FREE);
		e.set_south(f, Barrier.FREE);
		f.set_south(g, Barrier.FREE);
		g.set_east(h, Barrier.FREE);
		h.set_east(i, Barrier.DOOR);
		i.set_north(null, Barrier.WALL);
		i.set_east(j, Barrier.FREE);
		i.set_south(k, Barrier.FREE);
		j.set_north(null, Barrier.WALL);
		j.set_east(null, Barrier.WALL);
		j.set_south(l, Barrier.FREE);
		k.set_east(l, Barrier.FREE);
		k.set_south(null, Barrier.WALL);
		k.set_west(null, Barrier.WALL);
		l.set_east(null, Barrier.WALL);
		l.set_south(null, Barrier.WALL);
		
		benny.enter(Direction.NORTH);
		//benny.enter(Direction.WEST);
		
		
		System.out.println(e);
		
		System.out.println(benny);
	}

}
